Enum View.ScaleMode

Constants for display sprite scale modes.

Tables

View.ScaleMode Table of View.ScaleMode constants.


Tables

View.ScaleMode

Table of View.ScaleMode constants. To be used with View.DisplaySprite class.

  • FIT - Image will proportionally fit the whole image into the sprite surface.
  • FILL - Image will scale up proportionally and crop to fill all sprite surface.
  • STRETCH - Image will stretch according to sprite dimensions, not taking aspect ratio into consideration.
generated by TEN-LDoc (a fork of LDoc 1.4.6)